#!/bin/bash
    echo "Please enter the directory name of file name"
    read DORF
    if [ -d $DORF ]
    then ls $DORF
    elif [ -f $DORF ]
    then cat  $DORF
    else
    echo "input error!"
    fi
    
